﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.BankCustomers
{
    /// <summary>
    /// 供应商联系
    /// </summary>
    public class Vendorcontact : BaseEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int VendorcontactId { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? VendorcontactName { get; set; }
        /// <summary>
        /// 职务
        /// </summary>
        public string? VendorcontactWork { get; set; }
        /// <summary>
        /// 地址(外键)
        /// </summary>
        public int? ProvinceId { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string? ContactAdress { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? VendorcontactPhone { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? ContactPhone { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string? VendorcontactEamil { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? ContactEamil { get; set; }
        /// <summary>
        /// 默认
        /// </summary>
        public int? IsXuan { get; set; }
        /// <summary>
        /// 供应商外键Id
        /// </summary>
        public int? VendorId { get; set; }
        /// <summary>
        /// 客户外键
        /// </summary>
        public int? ClientId { get; set; }
    }
}
